import {
	request
} from '@/util/request.js'

export function wxLogin(data) {
	return request({
		url: '/api/wxLogin',
		method: 'post',
		data
	})
}
export function getSelfInfo() {
	return request({
		url: '/api/getSelfInfo',
		method: 'get'
	}, true)
}
export function saveUser(data){
	return request({
		url: '/api/saveUser',
		method: 'post',
		data
	}, true)
}
